package com.kunlun.basedata.limit.dao;

import com.kunlun.basedata.limit.model.CorrelateModel;
import com.kunlun.basedata.limit.model.vo.CorrelateVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ICorrelateDao {

    public List<CorrelateVo> getUnitNodeTree(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateRolePage(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateUserPage(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateApplicationPage(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateDepartmentPage(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelatePostPage(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateList(Map<String, Object> queryMap) throws Exception;

    public int getCorrelateCount(Map<String, Object> queryMap) throws Exception;

    public void addCorrelate(CorrelateModel correlateModel) throws Exception;

    public List<CorrelateVo> getRelateRoleList(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateByUser(Map<String, Object> queryMap) throws Exception;

    public List<CorrelateVo> getCorrelateTeanatAndAppByUser(Map<String, Object> queryMap) throws Exception;
}
